package com.zlll.winner.enums.bbs;

import com.zlll.winner.enums.biz.Constant;

public class CommentEnum {

    /**
     * 论坛栏目枚举
     */
    public enum BizTypeEnum implements Constant {
        POST("贴子",1);

        private String desc;
        private int value;

        BizTypeEnum(String desc, int value){
            this.desc = desc;
            this.value = value;
        }

        @Override
        public String desc() {
            return desc;
        }
        @Override
        public int val() {
            return value;
        }

    }

    /**
     * 论坛栏目枚举
     */
    public enum StatusEnum implements Constant {
        PUT_AWAY("已上架",1),
        PUT_BACK("已下架",2);

        private String desc;
        private int value;

        StatusEnum(String desc, int value){
            this.desc = desc;
            this.value = value;
        }

        @Override
        public String desc() {
            return desc;
        }
        @Override
        public int val() {
            return value;
        }

    }

}
